/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.mach.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.flow.core.entity.FlowEntity;

import java.util.List;

/**
 * 附件上传实体类
 *
 * @author LY
 * @since 2021-03-09
 */
@Data
@TableName("data_drawing_upload")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "DrawingUpload对象", description = "DrawingUpload对象")
public class DrawingUpload extends FlowEntity {

	private static final long serialVersionUID = 1L;

	//状态常量
	//1:待审核， 2:审核中，3:已归档
	public static final int STATUS_PENDING = 1;
	public static final int STATUS_APPROVAL = 2;
	public static final int STATUS_ARCHIVE = 3;

	/**
	* 图纸代号
	*/
		@ApiModelProperty(value = "图纸代号")
		private String drawingNumber;
	/**
	* 图纸名称
	*/
		@ApiModelProperty(value = "图纸名称")
		private String drawingName;
		/**
		 * 材料
		 */
		@ApiModelProperty(value = "材料")
		private String material;

//		@ApiModelProperty(value = "项目工单号")
//		private Long projectId;
//
//		// 物料字段
//		@ApiModelProperty(value = "客户名称")
//		@TableField(exist = false)
//		private String customerName;
//
//		// 项目名称
//		@ApiModelProperty(value = "项目名称")
//		@TableField(exist = false)
//		private String projectName;

		/**
		 * 单重
		 */
//		@ApiModelProperty(value = "单重")
//		private String singleWeight;
//		/**
//		 * 属性(特征值)
//		 */
//		@ApiModelProperty(value = "属性(特征值)")
//		private String drawingProperty;
//
//		/**
//		 * 备注(区分标准件、系统材料)
//		 */
//		@ApiModelProperty(value = "备注(区分标准件、系统材料)")
//		private String drawingRemark;
		/**
		* 备注
		*/
//		@ApiModelProperty(value = "说明")
//		private String remark;



}
